package com.btl.component.crypto.constant;

import lombok.Getter;

@Getter
public enum SecVersionEnum {

    V1("V1", "classpath:cert/client/*.p12", "123456",
            "V1", "classpath:cert/server/*.p12", "123456"),
    V2("V2", "classpath:cert/client/*.p12", "123456",
            "V2", "classpath:cert/server/*.p12", "123456");

    private final String clientName;
    private final String clientKeyStorePath;
    private final String clientKeyStorePassword;
    private final String serverName;
    private final String serverKeyStorePath;
    private final String serverKeyStorePassword;

    SecVersionEnum(String clientName, String clientKeyStorePath, String clientKeyStorePassword, String serverName, String serverKeyStorePath, String serverKeyStorePassword) {
        this.clientName = clientName;
        this.clientKeyStorePath = clientKeyStorePath;
        this.clientKeyStorePassword = clientKeyStorePassword;
        this.serverName = serverName;
        this.serverKeyStorePath = serverKeyStorePath;
        this.serverKeyStorePassword = serverKeyStorePassword;
    }
}
